package org.chen.spring.cloud.finchley.service.impl;

import org.chen.spring.cloud.finchley.model.User;
import org.chen.spring.cloud.finchley.service.UserFeignService;
import org.springframework.stereotype.Component;

/**
 * @author chensj
 * @date 2020-02-08 13:40
 */
@Component
public class UserFeignServiceImpl implements UserFeignService {
    @Override
    public String addUser(User user) {
        return "Add user failed, because user remote system can not connect!";
    }

    @Override
    public String updateUser(User user) {
        return "Add user failed, because user remote system can not connect!";
    }
}
